from selenium.webdriver.common.by import By

from WeChat.po.BaseDriver import BaseDriver

from WeChat.po.Build_Member import BuildMember

class MainPage(BaseDriver):
    def click_contact(self):

        # 找到添加成员按钮并点击
        self.find_and_click(By.CSS_SELECTOR,'.index_service_cnt_item_title')
        # 到BuildMember页面
        return BuildMember(self.driver)

